Why air gets cold higher up--a wrong explanation
Today, I was researching why temperature drops as elevation increases and I came across an explanation on an ask-the-expert website that I just don't buy.
It said that just as a baseball loses kinetic energy and gains potential energy as it rises in its trajectory, the air molecules lose kinetic energy as they rise.
Here is the actual quote:
"When the warm air rises, the speed of those air molecules slows down just like a ball that is thrown into the air slows down. The molecules convert their kinetic energy into potential energy when they rise into the air just like the ball did. And since temperature is a measure of kinetic energy, the lower kinetic energy means a lower temperature."
Reply
You are right in questioning that "explanation." Actually, it IS correct above an altitude of about 100 kilometers, the approximate level of the last collision of air molecules. Since their thermal speed is much less than escape velocity, they rise in parabolas (more accurately, sections of ellipses) and ultimately fall back. That is the Earth's "exosphere."
But where you and I live, temperature drops with altitude for a simpler reason. The Sun heats the ground, and unless this heating were to continue indefinitely (to where the oceans would boil, etc...) that heat must be returned to space. It is a complex process, involving convection and also radiation, which is emitted, absorbed and re-emitted by greenhouse gases as it works its way up, until at about 10-12 kilometers (typically) this infra-red radiation can continue to space.
In all these processes, heat flows upwards, and as we all know, heat only flows (unaided) from higher temperature to a lower one.
For more, see
http://www.phy6.org/stargaze/StarFAQ4.htm#q73
http://www.phy6.org/stargaze/Sun1lite.htm
See also question #207 on this page.